package com.wyw.hemerocallis.constant;

/**
 * 网关常量定义
 *
 * @author Mr Wu    yewen.wu.china@gmail.com
 * <p>
 * Update History:
 * Author        Time            Content
 */
public class GatewayConstant {

    /** 登录 uri */
    public static final String LOGIN_URI = "/hemerocallis-authority-center/login";

    /** 注册 uri */
    public static final String REGISTER_URI = "/hemerocallis-authority-center/register";

    /** 去授权中心拿到登录 token 的 uri 格式化接口 */
    public static final String AUTHORITY_CENTER_TOKEN_URL_FORMAT =
            "http://%s:%s/hemerocallis-authority-center/authority/token";

    /** 去授权中心注册并拿到 token 的 uri 格式化接口 */
    public static final String AUTHORITY_CENTER_REGISTER_URL_FORMAT =
            "http://%s:%s/hemerocallis-authority-center/authority/register";

}
